// 这个模块用来注册所有的全局组件
import svgIcon from "./svgIcon/index.vue";
import pagination from "./pagination/index.vue";
import category from "./category/index.vue";
const globalComponents: any = { svgIcon, pagination, category };

export default {
  install(app: any) {
    Object.keys(globalComponents).forEach((item) =>
      app.component(item, globalComponents[item])
    );
  },
};
